package com.smiier.skin.net;

import java.util.ArrayList;

import android.content.Context;
import cn.o.app.io.INoProguard;
import cn.o.app.net.NetTask;

import com.smiier.skin.constant.Constant;
import com.smiier.skin.net.CostRechargeTask.CostRechargeRequest;
import com.smiier.skin.net.CostRechargeTask.CostRechargeResponse;
import com.smiier.skin.util.GlobalSettings;

public class CostRechargeTask extends
		NetTask<CostRechargeRequest, CostRechargeResponse> {
	public static class CostRechargeRequest extends ORequest {
		public String appname = Constant.APP_NAME;
	}

	public static class CostRechargeResponse extends
			ArrayList<CostRechargeItem> implements INoProguard {

	}

	public static class CostRechargeItem implements INoProguard {
		public String Title;
		public Double Cost;
		public Double Gift;
		public String Desc;
	}

	@Override
	public void setContext(Context context) {
		super.setContext(context);
		mUrl = GlobalSettings.SERVER_URL + GlobalSettings.SERVER_FIXED_JOIN
				+ "Cost_Recharge.txt";
		mRequestMethod = METHOD_GET;
	}
}
